package com.superatom.java8.lambda;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadLambda {

    public static void main(String[] args) {
        ExecutorService exec = Executors.newCachedThreadPool();

        exec.execute(() -> {
            System.out.println(Thread.currentThread().getName());
        });
    }
}
